#include<iostream>
using namespace std;

class Widget
{
public:
    Widget()
    {
        cout << "Wiget()" << endl;
    }
    Widget(const Widget& w)
    {
        cout << "Wiget(const Wiget& w)" << endl;
    }
};


Widget f(Widget u)
{  
  Widget v(u);
  Widget w=v;
  return w;
}

int main()
{
    Widget x;
    Widget y=f(f(x));
    return 0;
}
